﻿using Glue.Converters;
using Xunit;

namespace GlueTests.Converters
{
    namespace IntStringConverterTest
    {
        public class When_converting
        {
            private readonly IntStringConverter converter;

            public When_converting()
            {
                converter = new IntStringConverter();
            }

            [Fact]
            public void Should_convert_ints()
            {
                Assert.Equal("13",converter.MapTowardsRight(13));
            }

            [Fact]
            public void Should_convert_String()
            {
                Assert.Equal(8, converter.MapTowardsLeft("8"));
            }
        }
    }
}
